/**
 * Created by jerry on 2017/11/13.
 * 资源相关api
 */
import * as API from './'

export default {
  //查询获取资源列表(通过page分页)
  qryByPage: params => {
    return API.GET('/resource/qryByPage', params)
  },
  // 添加资源
  doAddOrUpdate: params => {
    return API.POST('/resource/doAddOrUpdate', params)
  },
  // 删除资源
  doDel: params => {
    return API.DELETE('/resource/doDel', params)
  }
}
